<?php echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"; ?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
>
<channel>
	<title>《<?php echo $post->title; ?>》的评论</title>
	<atom:link href="<?php echo $this->url('post', $post->ID);?>/feed" rel="self" type="application/rss+xml" />
	<link><?php echo $this->url('post', $post->ID);?></link>
	<description><?php echo $this->setting->blogdescription; ?></description>
	<lastBuildDate><?php echo date('r', time()); ?></lastBuildDate>
	<generator><?php echo $this->setting->home; ?>/</generator>
	<image>
		<title><?php echo $this->setting->blogname; ?></title>
		<link><?php echo $this->url('home');?>/</link>
		<url><?php echo $this->setting->static; ?>/img/logo.png</url>
		<width>138</width>
		<height>36</height>
	</image>
	<?php foreach($comments->Data AS $key => $comment) { ?>
	<item>
		<title>作者：<?php echo $comment->author; ?></title>
		<link><?php echo $this->url('post', $post->ID);?>#comment</link>
		<author><?php echo $comment->author; ?></author>
		<pubDate><?php echo date('r', strtotime($comment->time)); ?></pubDate>
		<description><![CDATA[<?php echo $comment->content;?>]]></description>
	</item>
	<?php } ?>
</channel>
</rss>
